﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PaymentHelper.Core.RelatedObject
{
    public class PHSettingItem
    {
        public Type TypeSetting { get; set; }

        public string Name { get; set; }

        public string DisplayName { get; set; }

        public string ValueInStr { get; set; }

        public dynamic Value
        {
            get 
            {
                return Convert.ChangeType(ValueInStr,TypeSetting);
            } 
        }
    }
}
